x11: Don't include gdkprivate.h in gdkx.h
authorBenjamin Otte <otte@redhat.com>
Tue, 30 Nov 2010 21:55:44 +0000 (22:55 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 2 Dec 2010 19:21:05 +0000 (20:21 +0100)
It's private, mkay?
And include it directly where we need it anyway.

gdk/x11/gdkx.h
gtk/gtksocket-x11.c

index bf1f0977fc49139bb9cb4284be4a53eba6534ec7..5db972c7f23757a2599f94dbd1362f0e2bad7892 100644 (file)
@@ -27,7 +27,8 @@
 #ifndef __GDK_X_H__
 #define __GDK_X_H__
 
-#include <gdk/gdkprivate.h>
+#include <gdk/gdk.h>
+
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 
index c5f2824f88d314a11492e4ae086bd136af29c3c7..963d832b856413e8dd44fa60f13cdd8527e257cb 100644 (file)
@@ -39,7 +39,8 @@
 #include "gtkdnd.h"
 #include "gtkdebug.h"
 
-#include "x11/gdkx.h"
+#include "gdk/x11/gdkx.h"
+#include "gdk/gdkprivate.h"
 
 #ifdef HAVE_XFIXES
 #include <X11/extensions/Xfixes.h>